package com.zj.healthmanage.mapper;

import com.github.pagehelper.Page;
import com.zj.healthmanage.pojo.Member;

public interface MemberMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);

    Page<Member> queryMemberByPage(String queryString);

    Member queryMemberById(Integer id);

    Member queryMemberByTelephone(String telephone);

    Integer queryMemberCountByMonth(String date);

    Integer queryMemberCountByDate(String date);

    Integer queryMemberTotalCount();

    Integer queryMemberCountAfterDate(String date);
}